From a5ba036bad53e5c021df823ea6e6fed7cf7b29c2 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Mon, 7 Nov 2005 21:22:02 +0100 Subject: [PATCH] Rename parameter to avoid shadowing builtin. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/XendCheckpoint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/XendCheckpoint.py b/tools/python/xen/xend/XendCheckpoint.py index 8ea93a834a..a8a82f8470 100644 --- a/tools/python/xen/xend/XendCheckpoint.py +++ b/tools/python/xen/xend/XendCheckpoint.py @@ -209,9 +209,9 @@ def forkHelper(cmd, fd, inputHandler, closeToChild): raise XendError("%s failed" % string.join(cmd)) -def slurp(file): +def slurp(infile): while 1: - line = file.readline() + line = infile.readline() if line == "": break else: -- 2.30.2